/*
 * Created by: 	Zhaoningbo
 * at:			2011-8-30 - 上午11:51:59
 * blog:		(http://zhaoningbo.iteye.com/)
 */
package com.gc.test.exception;

import java.io.Serializable;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import com.gc.impl.exception.LogicInterface;

public class MyTestLogicAop implements Serializable {

    private static final long serialVersionUID = -156758158918050638L;

    public static void main(String[] args) {
        ApplicationContext applicationContext = new FileSystemXmlApplicationContext(
                "classpath:exception_config.xml");
        
        LogicInterface logicProxy = (LogicInterface)applicationContext.getBean("logicImpl");
        
        logicProxy.insert("红");
        logicProxy.update("十");
        logicProxy.delete("字");
        
    }

}
